export default [
  {
    title: '账户ID',
    width: 150,
    dataIndex: 'ucid',
    scopedSlots: {
      customRender: 'ucid'
    },
  },
  {
    title: '账户',
    width: 150,
    dataIndex: 'username',
    scopedSlots: {
      customRender: 'username'
    },
    filtered: true
  },
  {
    title: '总消费',
    width: 160,
    dataIndex: 'cost',
    defaultSortOrder: 'descend',
    scopedSlots: {
      customRender: 'cost'
    },
    sortDirections: ['descend', 'ascend'],
    sorter: (a, b) => a.cost - b.cost,
  },
  {
    title: '账户周期赔付',
    width: 160,
    dataIndex: 'pf',
    scopedSlots: {
      customRender: 'pf'
    },
    sortDirections: ['descend', 'ascend'],
    sorter: (a, b) => a.pf - b.pf,
  },
  {
    title: '周期GMV',
    width: 160,
    dataIndex: 'gmv',
    scopedSlots: {
      customRender: 'gmv'
    },
    sorter: (a, b) => a.gmv - b.gmv,
  },
  {
    title: '周期利润',
    width: 160,
    dataIndex: 'lirun',
    scopedSlots: {
      customRender: 'lirun'
    },
    sorter: (a, b) => a.lirun - b.lirun,
  },
  {
    title: '周期成单量',
    width: 130,
    dataIndex: 'count',
    sortDirections: ['descend', 'ascend'],
    sorter: (a, b) => a.count - b.count,
  },
  {
    title: '周期数',
    width: 130,
    dataIndex: 'num',
  },
  {
    title: '周期开始日期',
    width: 130,
    dataIndex: 'starttime',
  },
  {
    title: '周期结束日期',
    width: 130,
    dataIndex: 'endtime',
  },
]